using System.Configuration;
namespace TemplateWeb.Helpers
{
	public static class WebConfiguration
	{
        public static string DbConnectionString
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["AppConnectionString"].ConnectionString;
            }
        }

		public static string SiteName
		{
			get
			{
				return ConfigurationManager.AppSettings["SiteName"];
			}
		}

		public static string MailServer
		{
			get
			{
				return ConfigurationManager.AppSettings["MailServer"];
			}
		}

		public static string EnableErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["EnableErrorLogEmail"];
			}
		}

		public static string ErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["ErrorLogEmail"];
			}
		}

        public static string EmailLienHe
        {
            get
            {
                return ConfigurationManager.AppSettings["EmailLienHe"];
            }
        }
        public static string PasswordEmailLienHe
        {
            get
            {
                return ConfigurationManager.AppSettings["PasswordEmailLienHe"];
            }
        }

		public static int NumsysdiagramsPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumsysdiagramsPerPage"]);
			}
		}

		public static int NumHinhThucDauGiaPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumHinhThucDauGiaPerPage"]);
			}
		}

		public static int NumHopThuPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumHopThuPerPage"]);
			}
		}

		public static int NumPhanHoiPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumPhanHoiPerPage"]);
			}
		}

		public static int NumHuongDanPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumHuongDanPerPage"]);
			}
		}

		public static int Numaspnet_UsersPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["Numaspnet_UsersPerPage"]);
			}
		}

		public static int NumPhienDauGiaPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumPhienDauGiaPerPage"]);
			}
		}

		public static int NumNguoiDungPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumNguoiDungPerPage"]);
			}
		}

		public static int NumDanhMucChinhPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumDanhMucChinhPerPage"]);
			}
		}

		public static int NumNguoiChoiDauGiaPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumNguoiChoiDauGiaPerPage"]);
			}
		}

		public static int NumDanhMucConPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumDanhMucConPerPage"]);
			}
		}

		public static int HuongDanSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["HuongDanSortDescription"]);
			}
		}

		public static int PhienDauGiaSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["PhienDauGiaSortDescription"]);
			}
		}

	}
}
